<?php
/*
 * Created on Sep 19, 2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

require('./View/Security.php');
require('./Model/SpecalizedInserts.php');
require('./View/ViewFunctions.php');
if(isset($_POST['updateUser'])) {
	unset($_POST['updateUser']);
	editUser($_POST);
}
?>
<HTML>
<HEAD>
</HEAD>
<BODY>
<table>
<form name="addOrRemoveUsers" action="AdminEditUser.php" method="post">
<select name="id"> 
<option value="">(New User)</option>
<?php echo createDropdownBox("SELECT User, id FROM Users", 0, "id") ?><br>
</select>
<br><input type="submit" name="editUser" value="Edit User">
<br><input type="submit" name="removeUser" value="Remove User">
</form>
</table>
<?php makeBackButton() ?>
<?php require('./View/Footer.php'); ?>
</BODY>
</HTML>